package com.ynu.springbootappdemo.dao;

import com.ynu.springbootappdemo.common.dao.LogicDAO;
import com.ynu.springbootappdemo.model.entity.City;
import com.ynu.springbootappdemo.model.entity.Food;

import java.util.List;

public interface IFoodDao extends LogicDAO<Food,Long> {
    public List<Food> findFoodsByCity(City city);
    public List<Food> findFoodsByIdIsNotAndCity(Long id,City city);
}
